<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'place-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'longitude'); ?>
		<?php echo $form->textField($model,'longitude',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'longitude'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'latitude'); ?>
		<?php echo $form->textField($model,'latitude',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'latitude'); ?>
	</div>

    <div class="row">
        <label for="UserLogin_username" class="required">username <span class="required">*</span></label>
        <input name="UserLogin[username]" id="UserLogin_username" type="text" />
    </div>

    <div class="row">
        <label for="UserLogin_password" class="required">password <span class="required">*</span></label>
        <input name="UserLogin[password]" id="UserLogin_password" type="password" />
    </div>

    <input name="UserLogin[rememberMe]" id="UserLogin_rememberMe" value="1" type="hidden" />


	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->